package electro;

import java.awt.Color;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;


public class Electrocardiograma {

	//private ArrayList<Muestra> muestras;
	private ArrayList<Toma> tomas;
	private Color color;
		
	public Electrocardiograma(){ 
		tomas = new ArrayList<Toma>();
	}
	
	
	public Color getColor() {
		return color;
	}


	public void setColor(Color color) {
		this.color = color;
	}


	public void agregar_toma(Toma m){
		tomas.add(m);
	}
	
	public Toma da_toma(int i) throws IndexOutOfBoundsException {
		return tomas.get(i);
	}
	
	public int cant_tomas(){
		return tomas.size();
	}

	
}
